package smartcase.dto.request;

import lombok.Data;
import smartcase.dto.Request;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
public class CheckHealthRequest implements Request {
  @NotBlank(message = "callParam不可为空")
  private String callParam;

  private String echoName;

  @Min(message = "echoValue最大是1",value = 1)
  @Max(message = "echoValue最大是10", value = 10)
  private Integer echoValue;
}
